package cn.join.ideer.common.exceptions;

/**
 * @author shinyiqi
 * @date 2023/3/5 0:26
 */
public class ApiExceptionUtils {
    public static void ex(String message) {
        throw new ApiException(message);
    }

    public static void ex(IErrorCode errorCode) {
        throw new ApiException(errorCode);
    }
}
